package com.qf.shiro.user.mapper;

import com.qf.shiro.user.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ljc
 * @since 2023-02-08
 */
@Mapper
public interface UserDao extends BaseMapper<User> {


    List<String> getPerms(@Param("user") User user);

    List<String> getRoles(@Param("user") User user);
}
